package com.scpii.api.persistence.app;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.scpii.api.domain.app.AppNodes;

public interface AppNodesMapper {
	int deleteByPrimaryKey(Long id);

	int insert(AppNodes record);

	int insertSelective(AppNodes record);

	AppNodes selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(AppNodes record);

	int updateByPrimaryKeyWithBLOBs(AppNodes record);

	int updateByPrimaryKey(AppNodes record);

	/**
	 * @param appNodes
	 * @return
	 */
	List<AppNodes> selectBySelective(AppNodes appNodes);

	/**
	 * @param appId
	 * @param parentId
	 * @return
	 */
	List<AppNodes> selectByAppIdAndParentId(@Param("appId") Long appId,
			@Param("parentId") Long parentId);
}